package com.atguigu.realtime.gmallsugar.service;

import com.atguigu.realtime.gmallsugar.bean.Province;
import com.atguigu.realtime.gmallsugar.mapper.ProvinceMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Author lzc
 * @Date 2022/4/26 14:37
 */
@Service
public class ProvinceServiceImpl implements ProvinceService{
    
    @Autowired
    ProvinceMapper provinceMapper;
    @Override
    public List<Province> province(int date) {
        return provinceMapper.province(date);
    }
}
